{# SPDX-License-Identifier: Apache-2.0 -#}
{% extends "email/_base/body.html" %}
{% set site = request.registry.settings["site.name"] %}
{% block extra_style %}
  ul.member-details {
  list-style-type: none;
  }
{% endblock %}
{% block content %}
  <p>
    {% trans username=username, user_profile=request.route_url('accounts.profile', username=username), organization_name=organization_name, role=role %}<a href="{{ user_profile }}">{{ username }}</a>'s role in the "{{ organization_name }}" organization has been changed to {{ role }}{% endtrans %}:
    <ul class="member-details">
      <li>
        <strong>{% trans %}Username{% endtrans %}</strong>: {{ username }}
      </li>
      <li>
        <strong>{% trans %}New role{% endtrans %}</strong>: {{ role }}
      </li>
      <li>
        <strong>{% trans %}Member of{% endtrans %}</strong>: {{ organization_name }}
      </li>
      <li>
        <strong>{% trans %}Changed by{% endtrans %}</strong>: {{ submitter }}
      </li>
    </ul>
  </p>
  <p>
    {% trans email_address="admin@pypi.org", site=site %}If this was a mistake, you can email <a href="mailto:{{ email_address }}">{{ email_address }}</a> to communicate with the {{ site }} administrators.{% endtrans %}
  </p>
{% endblock %}
{% block reason %}
  {% trans %}You are receiving this because you are an owner of this organization.{% endtrans %}
{% endblock %}
